<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <script src="../../vue.js"></script>
      <title>Document</title>
</head>
<body>

      <div id="app">

            <news-com></news-com>

      </div>

     

      <script>


            Vue.component('news-com',{
                   
                   template:`

                   <div>

                   <h2>标题</h2>

                   <ul>

                       <li>体育新闻</li>
                       <li>体育新闻</li>
                       <li>体育新闻</li>
                       <li>体育新闻</li>
                   </ul>
                   </div>
                   `

            });
                  
            

       
  let   vm=new Vue({

        el:'#app',

        data:{

              message:''
        }
  });

           
        
      
      </script>
      
</body>


</html>